package com.gzz.orchid.context.application.rbac;

import com.gzz.orchid.common.core.tuple.TreeNode;
import com.gzz.orchid.context.application.rbac.pojo.ModuleDto;
import com.gzz.orchid.context.application.rbac.pojo.ModuleVo;
import com.gzz.orchid.context.application.rbac.queries.ModuleQuery;

import java.util.List;

/**
 * @author higmd
 */
public interface IModuleHandler {
    List<ModuleDto> listByPager(ModuleQuery query);

    List<ModuleDto> list(ModuleQuery query);

    ModuleVo detail(Long id);

    List<TreeNode<Long>> options();
}
